Action

Constructors

Link copied to clipboard
constructor(consumer: Consumer<StartCaptureSession.Response>)

Functions

Link copied to clipboard
open fun cancel()
Tells the browser that the capture session request should be canceled.
Link copied to clipboard
Returns true if this action is closed.
Link copied to clipboard
open fun selectSource(browser: Browser, audioCaptureMode: AudioCaptureMode)
Tells the browser to use the given browser as the capture source.
open fun selectSource(source: CaptureSource, audioCaptureMode: AudioCaptureMode)
Tells the browser to use the given capture source.
open fun selectSource(browser: Browser, audioCaptureMode: AudioCaptureMode, notificationVisibility: NotificationVisibility)
open fun selectSource(source: CaptureSource, audioCaptureMode: AudioCaptureMode, notificationVisibility: NotificationVisibility)
Overloaded version of selectSource that allows specifying whether to show a notification during capture.
Link copied to clipboard
Tells the browser to display the default dialog for choosing the capture source.